package com.bicon.botu.mall.member.common;


import com.bicon.botu.core.base.common.Constants;

/**
 * 会员常量
 *
 * @auther 张露晨
 * @date 2017/7/20  15:46
 */
public interface MemberConstants extends Constants {

    /**
     * 正常
     */
    int RESPONSE_CODE_606 = 606;

    /**
     * "0"产品上架  "1"产品下架
     */
    String PRODUCT_UP_SHELVES = "0"; //产品上架
    String PRODUCT_DOWN_SHELVES = "1"; //产品下架
    /**
     * 购物车物品状态
     */
    String CART_STATE_NORMAL = "0"; //有货
    String CART_STATE_NONE = "1";   //没货或超库存
    /**
     * 缓存key
     */
    String BOTU = "botu";

    /**
     * reids key 分隔符
     */
    String REDIS_KEY_DELIMITER = ":";

    /**
     * 模块
     */
    String MEMBER = "member";

    /**
     * 购物车
     */
    String CART = "cart";

    /**
     * 关注
     */
    String ATTENTION = "attention";

    /**
     * 默认地址状态
     */
    String ADDRESS_DEFAULT_NORMAL = "0";//默认地址
    String ADDRESS_DEFAULT_NONE = "1";//非默认地址

    /**
     * 看相似的价格范围浮动
     */
    Double SIMILARPRICE = 100.0;
    /**
     * 关注常量
     */
    String TYPE_DEFAULT = "1";
    String TYPE_PRICE = "2";
    String TYPE_SALES = "3";

    /**
     * 缓存Redis key
     */
    String REDIS_KEY = "botu:base:browsingHistory";

    /**
     * 商城
     */
    String PRODUCT_INFO = "botu:goods:product:info:";

    String MALL = "mall";


}
